//
// Created by mio on 25-4-26.
//
#include <iostream>
#include "../Net/EventLoop.h"
#include "SigServer.h"

int main()
{
    EventLoop loop(4);
    auto sig_server = SigServer::Create(&loop);
    if (!sig_server->Start("127.0.0.1", 6539))
    {
        std::cout << "SigServer start failed\n";
    }
    std::cout << "Server start success\n";
    while (1)
    {
        std::this_thread::sleep_for(std::chrono::milliseconds(100));
    }
    return 0;
}